import Vue from 'vue'
import index from './index.vue'

const MaskConstructor = Vue.extend(index)


const maskDiv = (op) => {
  const instance = new MaskConstructor({
    el: document.createElement('div'),
    data: op
  })

  document.body.appendChild(instance.$el)
  return instance
}

export default maskDiv
